x86/ucode/amd: Fold structures together
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 30 Mar 2020 16:58:29 +0000 (17:58 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Apr 2020 13:00:12 +0000 (14:00 +0100)
commit6f56491911a6a11ec94db36aca791a23e3cc75b6
tree9389303c3ab51427f71e7c64936f98c7553c3ef7
parentf4c663b88b7a2b5e9d104307ab1ad1f357fd44c9
x86/ucode/amd: Fold structures together

With all the necessary cleanup now in place, fold struct microcode_header_amd
into struct microcode_patch and drop the struct microcode_amd temporary
ifdef-ary.

This removes the memory allocation of struct microcode_amd which is a single
pointer to a separately allocated object, and therefore a waste.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/microcode/amd.c